<!-- start of grid-->
	<link href="<?=$this->config->item('base_url');?>public/css/flexigrid.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="<?=$this->config->item('base_url');?>public/js/jquery.pack.js"></script>
	<script type="text/javascript" src="<?=$this->config->item('base_url');?>public/js/flexigrid.pack.js"></script>
	
	
<?php
	echo form_open('peserta/peserta_fix/index');
?>
<form>

	<p class="submit">
		<a>
			<label>Tampilkan Batch</label>
			<?
				$value['id_batch'] = $id_batch;
				$counter = 0;
					foreach ($batch->result() as $row){
						$options[$row->ID_BATCH] = $row->NAMA_BATCH;
						$counter++;
					}
					if($counter > 0){
						echo form_dropdown('batch',$options,$value["id_batch"],'class="field select"');	
					}
					else{
						echo "<select disabled>
								<option>--Tidak ada data batch--</option>
							</select>";	
					}
			?>
		</a>
		<a> &nbsp </a>
		<button id="registerButton" type="submit">Tampilkan Data</button>
	</p >
</form> 
<?php
	echo form_close();
?>

	<?php
	echo $js_grid;
	echo $added_js;
	?>
	
	
	<table id="flex1" style="display:none"></table>